import React from 'react'
import {Icon} from "antd-mobile"
import {withRouter} from "react-router-dom"
class GoBack extends React.Component{
    render(){
        return (
            <Icon type="left" onClick={()=>this.props.history.go(-1)} />
        )
    }
}
export default withRouter(GoBack);